<?php echo $this->Html->css('content/content_posts/view')?>
<div class="blog-content">
	<h1><?php echo $this->element('google/plus_medium')?> <?php echo $data['ContentPost']['title']?></h1>
	<time><i>Viết ngày <?php echo date('d/m/Y', strtotime($data['ContentPost']['created']))?></i></time>
	<article>
		<section>
			<p>
				<?php echo $data['ContentPost']['content']?>
			</p>
		</section>
	</article>
	<div>
		<?php echo $this->Html->link('Về blog', array('plugin'=>'content', 'controller' => 'content_posts', 'action' => 'index'))?>
	</div>
</div>
<div class="blog-sidebar-right">
	<ul>
	<?php foreach($posts as $post) : ?>
			<li>
				<?php echo $this->Html->link($post['ContentPost']['title'], array('plugin' => 'content', 'controller' => 'content_posts', 'action' => 'view' , $post['ContentPost']['seo_name']))?>
			</li>
	<?php endforeach;?>
	</ul>
</div>
<div style="clear:both"></div>